package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.SupplierMapper;
import com.ten.jinxiancun.server.SupplierServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/*供货商资料表*/
@Service
public class SupplierServerImpl implements SupplierServer {
    @Autowired
    SupplierMapper supplierMapper;
    @Override
    public List<Map<String, Object>> getAllSuppFind(Map<String, Object> map) {
        return supplierMapper.getAllSupp(map);
    }

    @Override
    public Integer countFind(Map<String, Object> map) {
        return supplierMapper.count(map);
    }
}
